package colbert.content.extendsDemo1;

public class Fu {
    public static void main(String[] args) {
//        Fu fu = new Fu();
//        fu.privateMethod();
//        fu.defaultMethod();
//        fu.protectedMethod();
//        fu.publicMethod();
    }
    private void privateMethod() {
        System.out.println("Fu--privateMethod");
    }
    void defaultMethod() {
        System.out.println("Fu--defaultMethod");
    }
    protected void protectedMethod() {
        System.out.println("Fu--protectedMethod");
    }
    public void publicMethod() {
        System.out.println("Fu--publicMethod");
    }
}
